<template>
  <div>
    <h2>用户</h2>
    <p>用户页面</p>
    <p>{{username}}</p>
  </div>
</template>
<script>
export default {
  name: "home",
  computed: {
    username (){
      return this.$route.params.userId
    }
  },
};
</script>

<style scoped>
</style>